.user-track-container {
  height: 100%;
  display: flex;
  flex-direction: column;

  .ant-card {
    flex: 1;
    display: flex;
    flex-direction: column;

    .ant-card-body {
      flex: 1;
      padding: 16px;
      display: flex;
      flex-direction: column;
    }
  }

  .search-bar {
    margin-bottom: 16px;

    .ant-space {
      width: 100%;
    }
  }

  .data-table {
    flex: 1;
    overflow: hidden;
    width: 100%;

    .ant-table {
      width: 100% !important;
      table-layout: fixed; // 添加固定表格布局

      .ant-table-container {
        width: 100%;
        display: flex;
        flex-direction: column;

        .ant-table-body {
          flex: 1;
          overflow: auto !important;
        }
      }
    }
  }

  .answer-content {
    max-width: 400px;
    word-break: break-word;
    white-space: pre-wrap;
    max-height: 150px;
    overflow: auto;
    background: #fafafa;
    padding: 8px;
    border-radius: 4px;
  }

  .question-content {
    max-width: 300px;
    width: 300px; // 添加固定宽度
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    .ant-typography {
      display: block;
      width: 100%;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }
}
